function echo(arg) {
    console.log(arg.length);
    return arg;
}
console.log(echo({ name: 1, length: 2 }));
console.log(echo([1, 2, 3]));
console.log(echo("123132"));
var Ctrl = /** @class */ (function () {
    function Ctrl() {
        this.list = [];
    }
    Ctrl.prototype.push = function (item) {
        this.list.push(item);
    };
    Ctrl.prototype.pop = function () {
        return this.list.pop();
    };
    return Ctrl;
}());
var c1 = new Ctrl();
c1.push(21);
c1.push("你好");
console.log(c1.pop().toFixed());
console.log(c1.pop().toFixed());
